import java.sql.*;
class FunProduct
{

	public static void main(String[] s)
	{


		try
		{

			Product pr = new Product() ;
					String[] ps = {"11","nekllace","1"};



		//pr.insertProduct(ps); //.......working successfully..............
		//pr.updateProduct(ps) ; //.......working successfully..............

		//ResultSet rs = pr.getProductDetails() ;//.......working successfully..............
		ResultSet rs = pr.getProductDetails(10) ;//.......working successfully..............
		while(rs.next())
		{
			System.out.println(rs.getInt(1)+" "+rs.getString(2)+" "+rs.getInt(3));

		}


	}
	catch(Exception e)
	{}






	}

}